package com.dup.jxlh.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dup.jxlh.admin.entities.model.Contract;
import com.dup.jxlh.admin.entities.model.ContractAttach;
import com.dup.jxlh.admin.entities.vo.ContractVO;
import com.dup.jxlh.api.entities.PaginationData;

import java.math.BigInteger;
import java.util.ArrayList;

public interface ContractService {
    Contract getContract(BigInteger id);

    Page<ContractVO> getContractList(PaginationData paginationData, Contract contract);

    ArrayList<ContractVO> getContractData(PaginationData paginationData, Contract contract);

    Boolean addContract(Contract contract);

    Boolean editContract(Contract contract);

    ContractAttach addContractAttach(ContractAttach contractAttach);

    Boolean delContractAttach(BigInteger id, BigInteger contractId);
}
